home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / comm / imfaxcon.zip / FAXCON.TXT < prev    next >
Text File  |  1994-02-13  |  16KB  |  428 lines

  1.  
  2.  
  3. ╔═══ Info Text Header ═════════════════════════════════════════════════╗
  4. ║                                                                      ║
  5. ║  By  : Horst Hackenbruch 2:2440/240.0                                ║
  6. ║  To  : All InterMail User's                                          ║
  7. ║  Re  : FAX with IM and ZyXEL - no problem.....                       ║
  8. ║  St  : Local                                                         ║
  9. ║  Rev : 1. Fri 12 Nov 93 12:00; 2. Sun 13 Feb 93 21:12.               ║
  10. ╚══════════════════════════════════════════════════════════════════════╝
  11.  
  12.  
  13. You have FAX problems with InterMail, a ZyXEL modem and ZFAX - why ?
  14. have a look at the following info's.....
  15.  
  16. ╔══════════════════════ System Hardware ═══════════════════════════════╗
  17. ║                                                                      ║
  18. ║   386/33Mhz (BOX / MAILER)                                           ║
  19. ║   486/33Mhz (only for write Mail with FD's FM und prived use)        ║
  20. ║                                                                      ║
  21. ╔══════════════════════ System Software ═══════════════════════════════╗
  22. ║    modem     : ZyXEL U1496 E+ Rom RM 6.10                            ║
  23. ║    fossil    : Intermail intern or X00 v1.53a                        ║
  24. ║    mailer    : InterMail v2.26.                                      ║
  25. ║    os system : pure MS-DOS 6.20 no windows, no desqview or           ║
  26. ║                any other network software                            ║
  27. ║    fax prog. : ZyXEL's ZFAX v2.23 or v3.10                           ║
  28. ╚══════════════════════════════════════════════════════════════════════╝
  29.  
  30.  
  31.  ▒▒▒▒▒ InterMail 2.2x; SETUP with ZyXEL U1496 E+ (Mailer/Fax/BBS) ▒▒▒▒▒
  32.  
  33. ╔════════════════════ InterMail System Settings ═══════════════════════╗
  34.  
  35. ╔═════════════════════════════ Hardware ╗
  36. ║                                       ║
  37. ║ Modem port                    2       ║
  38. ║ Maximum baud rate             57600   ║
  39. ║ Lock port                     Yes     ║
  40. ║ Reset modem to connect speed  No      ║
  41. ║ Lower DTR when busy           Yes     ║
  42. ║ Lower DTR to terminate call   Yes     ║
  43. ║ Toggle DTR before dialing     No      ║
  44. ║                                       ║
  45. ╚═══════════════════════════════════════╝
  46. ╔════════════════════ Messages ╗
  47. ║                              ║
  48. ║ Error       ERROR            ║
  49. ║ Busy        BUSY             ║
  50. ║ No Carrier  NO CARRIER       ║
  51. ║ Ok          OK               ║
  52. ║ Ring        RING|            ║
  53. ║ No Dialtone NO DIAL          ║
  54. ║ No Answer   NO ANSWER        ║
  55. ║ Voice       VOICE            ║
  56. ║ User def 1                   ║
  57. ║ User def 2                   ║
  58. ║ User def 3                   ║
  59. ║ User def 4                   ║
  60. ║ User def 5                   ║
  61. ║ User def 6                   ║
  62. ║                              ║
  63. ╚══════════════════════════════╝
  64. ╔═════════════════════════════════════════ Command strings ╗
  65. ║                                                          ║
  66. ║ Escape code    +++                                       ║
  67. ║ Return on-line ~ATO|                                     ║
  68. ║ Onhook         ATH0|                                     ║
  69. ║ Offhook        ~ATM0H1|                                  ║
  70. ║ Dial           ATDP                                      ║
  71. ║ ├─Prefix                                                 ║
  72. ║ └─Suffix       |                                         ║
  73. ║ Delay          2                                         ║
  74. ║ Init-1         AT&FX7L7N7|                               ║
  75. ║ Init-2         AT#B1+FCLASS=6+FLID=++49-2173-65932|      ║
  76. ║ Init-3                                                   ║
  77. ║ Down           ~ATM0H1|                                  ║
  78. ║ Reset          ATZ|                                      ║
  79. ║                                                          ║
  80. ╚══════════════════════════════════════════════════════════╝
  81. ╔═══════════ Answer control ╗
  82. ║                           ║
  83. ║ Manual answer  Yes        ║
  84. ║ Force answer   ATA|       ║
  85. ║ Answer delay   7          ║
  86. ║ Answer on ring 1          ║
  87. ║                           ║
  88. ╚═══════════════════════════╝
  89. ╔══════════════════════════════════════════════════════════ Connect strings ╗
  90. ║   #   Connect Message                       Speed  EC  BBSexit  Terminate ║
  91. ║───────────────────────────────────────────────────────────────────────────║
  92. ║   1   CONNECT|                              300    Y   105      0         ║
  93. ║   2   CONNECT 1200|                         1200   Y   105      0         ║
  94. ║   3   CONNECT 1200/                         1200   Y   105      0         ║
  95. ║   4   CONNECT 2400                          2400   Y   105      0         ║
  96. ║   5   CONNECT FAX                           2400   N   0        0         ║
  97. ║   6   CONNECT 4800                          4800   Y   105      0         ║
  98. ║   7   CONNECT FAX                           4800   N   0        0         ║
  99. ║   8   CONNECT 7200                          7200   Y   105      0         ║
  100. ║   9   CONNECT FAX                           7200   N   0        0         ║
  101. ║  10   CONNECT 9600                          9600   Y   105      0         ║
  102. ║  11   CONNECT FAX                           9600   N   0        0         ║
  103. ║  12   CONNECT 12000                         12000  Y   105      0         ║
  104. ║  13   CONNECT FAX                           12000  N   0        0         ║
  105. ║  14   CONNECT 14400                         14400  Y   105      0         ║
  106. ║  15   CONNECT FAX                           14400  N   0        0         ║
  107. ║  16   CONNECT 16800                         16800  Y   105      0         ║
  108. ║  17   CONNECT 19200                         19200  Y   105      0         ║
  109. ║  18   CONNECT 21600                         21600  Y   105      0         ║
  110. ║  19   CONNECT 24000                         24000  Y   105      0         ║
  111. ║  20   CONNECT 26400                         26400  Y   105      0         ║
  112. ║  21   CONNECT 28800                         28800  Y   105      0         ║
  113. ║  22   CONNECT 31200                         31200  Y   105      0         ║
  114. ║  23   CONNECT 33600                         33600  Y   105      0         ║
  115. ║  24   CONNECT 36000                         36000  Y   105      0         ║
  116. ║  25   CONNECT 38400                         38400  Y   105      0         ║
  117. ║  26   CONNECT 57600                         57600  Y   105      0         ║
  118. ║  27   CONNECT 64000                         64000  Y   105      0         ║
  119. ║  28   CONNECT 76800                         76800  Y   105      0         ║
  120. ╚═══════════════════════════════════════════════════════════════════════════╝
  121. ╔═════ Dial command file ╗
  122. ║ Filename: DIALCTL.001  ║
  123. ╚════════════════════════╝
  124. ╔════════════════════════════════════════ External mail ╗
  125. ║                                                       ║
  126. ║    String                                     Level   ║
  127. ║  1 DOORWAY                                     110    ║
  128. ║  2 ZyXEL                                       120    ║
  129. ║  3                                               0    ║
  130. ║  4                                               0    ║
  131. ║  5                                               0    ║
  132. ║  6                                               0    ║
  133. ║  7                                               0    ║
  134. ║  8                                               0    ║
  135. ║  9                                               0    ║
  136. ║ 10                                               0    ║
  137. ║                                                       ║
  138. ╚═══════════════════════════════════════════════════════╝
  139.  
  140. ╚═════════════════ END InterMail System Settings ══════════════════════╝
  141.  
  142.  
  143. >  1.
  144.    The String "DOORWAY" in External-mail is use for a direct
  145.    call from Doorway.exe over Mailer.
  146.  
  147. >  2.
  148.    The string "ZyXEL" in External-mail is use for all ZyXEL's
  149.    ZFAX programs.
  150.  
  151. >  3.
  152.    The string "ATDP" in Command's-String's-Dial is use
  153.    only for german analog (pulse) phone lines.
  154.  
  155. >  4.
  156.    I use IM with following parameters : /NF /ZMAX:32
  157.    (No extern fossil driver and max. Blocksize is 32 under ZModem)
  158.    For more info's see in the IM manual.
  159.  
  160.    When you use an extern fossil driver, like X00, you got as
  161.    example this in your CONFIG.SYS file:
  162.  
  163.    D:\COM\XOO\XOO.SYS E 2 B,1,57600 T=512 R=1024 F=15
  164.  
  165.    I use in this example comport two (under DOS) for this.
  166.    Don't forget to deactivate the "/NF" Parameter 
  167.    on the InterMail command line,
  168.    when you use an external fossil driver !
  169.  
  170. >  5.
  171.    IM's comport(2) is locked at 57600 baud and i use an 
  172.    UART NS 16550 AFN/CN on this comport.
  173.  
  174. >  6.
  175.    My Dial command file under IM have this contents :
  176.  
  177.    ; V21            AT&N16|
  178.    ; V22            AT&N15|
  179.    ; V22B           AT&N14|
  180.    ; V32            AT&N4|
  181.    ; V32B           AT&N0|
  182.    HST            AT&K1|
  183.    H14            AT&K1|
  184.    H16            AT&K1| 
  185.    ; MNP            AT&K2|
  186.    ; V42            AT&K3|
  187.    ; V42B           AT&K4|
  188.    ZYX            AT&N0|    ; used here for all ZyXEL Connect's
  189.    Z19            AT&N0|    ; same as above but with Z19 flag
  190.    ; PEP            ATX2|
  191.    2:242/18       AT&N14|   ; an node with 2400 baud BTZ modem
  192.                             ; german post law related modem :-(
  193.  
  194.  
  195. >  7.
  196.    Now have a look of the follwing BAT. Files. 
  197.    This files are mandatory for BBS-, Doorway- and ZFax- call's.
  198.    For this you must have set "Create BAT.file Yes"
  199.  
  200.    ╔═════════ Errorlevels ╗
  201.    ║                      ║
  202.    ║ Received mail   70   ║
  203.    ║ Create BAT.file Yes  ║
  204.    ║                      ║
  205.    ╚══════════════════════╝
  206.  
  207.    Now IM is able to create intern the following (DO)BAT.files :
  208.  
  209.    DOBBS.BAT
  210.    ---------
  211.    contents as example : EXEBBS 16800 2 182 /Arq/V42b 1
  212.    >                             ^   ^  ^      ^     ^
  213.    >                             |   |  |      |     |
  214.    >                 Connect speed   |  |      |     |
  215.    >                           Comport  |      |     |
  216.    >              max. Time to next Event      |     |
  217.    >                        Error Correct Method     |
  218.    >                                       Line number
  219.  
  220.    DOCONN.BAT
  221.    ----------
  222.    contents as example : EXECONN 14400 2 42 / 1
  223.  
  224.    DOSESS.BAT
  225.    ----------
  226.    contents as example : EXESESS 19200 2 1440 /Arq/V42b 1
  227.  
  228.    This BAT.file's call's every times another BAT.file's
  229.    like EXEBBS.BAT, EXECONN.BAT and EXESESS.BAT. This files
  230.    must always place in IM's Home Directory (i.e. D:\IM)
  231.  
  232.    Now the contents of this (EXE)BAT.files :
  233.  
  234.    EXEBBS.BAT
  235.    ----------
  236.    as example :            @echo off
  237.                            cd %ra%
  238.                            ra.exe -b%1%4 -c%2 -t%3 -n%5 -e0
  239.    (used for Remote Access BBS program, one singel line)
  240.  
  241.    EXECONN.BAT
  242.    -----------
  243.    as example :            @echo off
  244.                            cd %zfax%
  245.                            rcvfax 2 /p:1 /w:%zfax%\files
  246.    (used for ZyXEL ZFAX v2.23 program (RCVFAX.COM) 
  247.     by using the incomming Connect String)
  248. >                          ^^^^^^^
  249.  
  250.    EXESESS.BAT
  251.    -----------
  252.    as example :            @echo off
  253.                            cd %zfax%
  254.                            rcvfax 2 /p:1 /w:%zfax%\files
  255.    (used for ZyXEL ZFAX v2.23 program (RCVFAX.COM)
  256.     by using the incomming External mail String)
  257. >                          ^^^^^^^^^^^^^
  258.    When you will use the newer ZFAX v3.10 or higher, then replace
  259.    only the string "rcvfax 2 /p:1 /w:%zfax%\files" in your batch files 
  260.    with "ZFAX RF" as ZFAX call. 
  261.  
  262.    Note : ZFAX v3.10 use his own CFG file and that is mandatory in ZFAX's
  263.           Home Directory !
  264.  
  265.  
  266. >  Yes, there are two way's to call the ZFAX program very quickly.
  267.  
  268.    There is also a third, but very slowy, way by using the Errorlevel's
  269.    in your IMRUN.BAT or IMRA.BAT file.
  270.  
  271.    For this you must set in IMSETUP under Connect-Strings on every
  272.    "CONNECT FAX" an Errorlevel for BBS Exit.
  273. >                                  ^^^^^^^^
  274.  
  275.    Here in my example it is "ERRORLEVEL 120" :
  276.  
  277. ╔════════════════════ InterMail Batch example ═══════════════════════╗
  278.  
  279.    IMRA.BAT
  280.    --------
  281.    @echo off
  282.  
  283.    :START
  284.    cls
  285.    cd %im%
  286.    im %1 %2 %3 %4 %5 /ZMAX:32 (/NF)
  287.    if errorlevel 120 goto FAX_BBS
  288.    if errorlevel 115 goto OFF_FAX
  289.    if errorlevel 110 goto DOORWAY
  290.    if errorlevel 105 goto BBS_CALL
  291.    if errorlevel 100 goto LOCALBBS
  292.  
  293. [....] rest stripped here
  294.  
  295.    if errorlevel   1 goto INTERNAL
  296.    goto AFTER-RA
  297.    goto START
  298.  
  299.    :DOORWAY ; go to DOS via Doorway
  300.    cd %batch%
  301.    call remotedo.bat
  302.    goto START
  303.  
  304.    :OFF_FAX ; send a FAX out from here
  305.    cls
  306.    cd %offfax%
  307.    offfax regkey
  308.    goto START
  309.  
  310.    :FAX_BBS ; incomming FAX
  311.    cd %ZFAX%
  312.    rcvfax 2 /p:1 /w:%zfax%\files
  313.    REM zfax rf
  314.    cd %batch%
  315.    call faxnote.bat
  316.    goto START
  317.  
  318.    :BBS_CALL ; normal BBS call
  319.    cls
  320.    cd %im%
  321.    call dobbs.bat
  322.    goto AFTER-RA
  323.  
  324.    :LOCALBBS ; local BBS call
  325.    cls
  326.    cd %ra%
  327.    ra.exe -l
  328.    goto AFTER-RA
  329.  
  330. ╚═════════════════ END InterMail Batch example ══════════════════════╝
  331.  
  332.    So thats all and it work's ....
  333.  
  334.    And now at the least 3 handy BAT.file's for use the above
  335.    installation :
  336.  
  337.    DOREMOTE.BAT for use with Doorway
  338.    FAXNOTE.BAT for show incomming FAX on MAIL and MAILER
  339.    and
  340.    VIEWFAX for show FAX over Function Key from IM, usefull only
  341.    when you use ZFAX v2.23 :
  342.  
  343. ╔═══════════════════ Doorway Call Batch example ═════════════════════╗
  344.  
  345.    REMOTEDO.BAT
  346.    ------------
  347.    @echo off
  348.    cls
  349.    d:
  350.    cd %ra%
  351.    doorway com2f /g:on /v:d /k:300 /19: /a:on /b:z /m:100 /o:
  352.    /i:%ra%\dorpaswd.asc /z:%ra%\dorexit.asc /c:dos
  353. >  NOTE : this commandline is too long, please put it on one line !
  354.    d:
  355.    cd %batch%
  356.  
  357. ╚═══════════════════ END Doorway Batch example ══════════════════════╝
  358.  
  359. ╔═════════════════════ FAXNOTE  Batch example ═══════════════════════╗
  360.  
  361.    FAXNOTE.BAT
  362.    -----------
  363.    @echo off
  364.    cd %im%\zfax
  365.    notify -f%zfax%\files\rcvfax.log -im -n -h -l
  366.    zfnotify %zfax% -im -h -l -n
  367.    cd %batch%
  368.  
  369.  
  370.    Note   for use with RCVFAX.COM (ZFAX v2.23) :
  371.           NOTIFY is requestable under "NOTIFY*.*"
  372.           a program from Frank Schuhardt 
  373.  
  374.           for use with ZFAX v3.10 :
  375.           ZFNOTIFY is frequestable under "ZFNOT*.*"
  376.           a program from Boris Huertgen
  377.  
  378. ╚═══════════════════ END FAXNOTE Batch example ══════════════════════╝
  379.  
  380. ╔═════════════════════ VIEWFAX  Batch example ═══════════════════════╗
  381.  
  382.    VIEWFAX.BAT
  383.    -----------
  384.    @echo off
  385.    cls
  386.    d:
  387.    cd %zfax%\files
  388.  
  389.    :RUN
  390.    if exist %zfax%\files\*.0?? goto SHOW1
  391.    if not exist %zfax%\files\*.0?? goto RUN2
  392.  
  393.    :RUN2
  394.    if exist %zfax%\files\*.p?? goto SHOW2
  395.    if not exist %zfax%\files\*.p?? goto NOMORE
  396.  
  397.    :SHOW1
  398.    for %%f in (*.0??) do %zfax%\zfax 4 %zfax%\files\%%f
  399.    goto RUN2
  400.  
  401.    :SHOW2
  402.    for %%f in (*.p??) do %zfax%\zfax 4 %zfax%\files\%%f
  403.    goto END
  404.  
  405.    :NOMORE
  406.    echo.
  407.    echo.
  408.    echo.
  409.    echo No more Fax File to show ....
  410.    echo.
  411.    pause
  412.    goto END
  413.  
  414.    :END
  415.    d:
  416.    cd %batch%
  417.  
  418. ╚═══════════════════ END VIEWFAX Batch example ══════════════════════╝
  419.  
  420.  
  421. I hope this help you and you can allways understand my quick dirty and
  422. over 20 years old school english....
  423.  
  424. Thanks for reading this
  425.  
  426. cu Horst
  427.  
  428. -EOF-